<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>比康医箱</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
	<link rel="stylesheet" href="../static/css/shezhixt.css">
	<link rel="stylesheet" type="text/css" href="../static/css/table-list.css">
</head>
<body>

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link href="../static/css/bootstrap.min.css" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="../static/css/font-awesome.min.css" />
<link rel="stylesheet" href="../static/css/app.css" id="maincss">
<link rel="stylesheet" type="text/css" href="../static/css/button.css">
<link rel="stylesheet" type="text/css" href="../static/css/dialog.css">
<link rel="stylesheet" type="text/css" href="../static/css/pagination.css">
<link rel="stylesheet" type="text/css" href="../static/css/common-style.css">
<script type="text/javascript">
	var path = '';		
</script>
<script src="../static/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.validator.min.js"></script>
<script type="text/javascript" src="../static/js/zh-CN.js"></script>
<script src="../static/js/jquery.cookie.js"></script>
<script src="../static/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../static/js/jquery.storageapi.js"></script>
<script  type="text/javascript" src="../static/js/app.js"></script>
<script src="../static/js/common.js"></script>
<script src="../static/js/common-getInfo.js"></script>
<script src="../static/js/common-validate.js"></script>
<script src="../static/js/common-util.js"></script>
<script src="../static/js/common-dataBind.js"></script>
<script src="../static/js/jquery.PrintArea.js"></script>
<script language="javascript" type="text/javascript">
/**获取是否在客户端标志
 * sessionStorage 根据打开浏览器时获取参数*/
function getKeHudbz() {
	var keHudURL =$('#mainIframe').context.referrer;
	function getValue(url, name) {
	    var reg = new RegExp('(\\?|&)' + name + '=([^&?]*)', 'i');
	    var arr = url.match(reg);
	    if (arr) {
	        return arr[2];
	    }
	    return null;
	}
	var where = getValue(keHudURL, 'where');
	if (where != null) {
		if(where == "Q8gmoUGvFHpoSA43EVyVkg==") {
			sessionStorage.setItem('isKeHud', true);
		} else {
			sessionStorage.setItem('isKeHud', false);
		}
	} 
	if (sessionStorage.getItem('isKeHud') == 'true'){
		return true;
	} else if (sessionStorage.getItem('isKeHud') == 'false') {
		return false;;
	}
}
// 客户端标志
var isKeHud = getKeHudbz();
var Sys = {};
var ua = navigator.userAgent.toLowerCase();
var s;
(s = ua.match(/msie ([\d.]+)/)) ? Sys.ie = s[1] : (s = ua
		.match(/firefox\/([\d.]+)/)) ? Sys.firefox = s[1] : (s = ua
		.match(/chrome\/([\d.]+)/)) ? Sys.chrome = s[1] : (s = ua
		.match(/opera.([\d.]+)/)) ? Sys.opera = s[1] : (s = ua
		.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;
		
//以下进行测试
/* if (Sys.chrome) {
	//document.write('Chrome: ' + Sys.chrome.substr(0,2));
	//目前Chrome浏览器需要判断支持情况
	var banBenHao = Sys.chrome.substr(0, 2);
	if (parseInt(banBenHao) >= 40) {
		//版本号大于53,跳转到登录页
	} else {
		//版本号小于53,跳转到支持页
		window.location.href="/jump/toZhichi"; 
	}
}
if(!Sys.safari&&!Sys.chrome){
	//其他浏览器，都不支持
	window.location.href="/jump/toZhichi"; 
} */
</script>
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
	</head>
	<body>
	<input id="yb-init" style="display: none" value=""/>
	</body>
</html>

<link rel="stylesheet" type="text/css" href="../static/css/header.css">
<link rel="stylesheet" type="text/css" href="../static/css/input.css"><div class="g-container clearfix" style="margin-bottom:60px">
    	<input id="isYiBao" style="display: none" value="true"/>
    	<header class="header clearfix">
          <div class="h-container">
          	<div class="h-hleft">
	            <img src="../static/image/bk_logox.png" alt="logo" class="h-logo" id="logo">
	            <div class="h-clinic">
	            	
	             强强电疗所</div>
	        </div>
            <div class="h-help-ect">
            	<div id="bangz" class="h-help-title">帮助</div>
              	<div class="h-help-img" id="tongzhi">
	              	<div class="h-help-fi">
	              		<i class="fa fa-volume-down fa-lg h-helpimg-i" aria-hidden="true"></i>
	              	</div>
	              	<div class="h-help-info" >
	              		<em></em>
	              		<div>
	              			<h4 class="h-help-info-h4">通知栏</h4>
	              			<div class="g-hinfo-lists" id="divTongzhi" >
	              			</div>
	              			<div class="g-hinfo-more"><a href="/jump/toTongzhi">查看全部</a></div>
	              		</div>
	              	</div>
              </div>
              <div class="h-doctor my-message" id="m-message"><span id="helloworld">1357...</span> <i class="fa fa-caret-right fa-lg" aria-hidden="true"></i>
              		<ul class="pull-down-list">
              			<li><a href="/jump/toZhanghaoxx">帐户信息</a></li>
              			<li><a href="/jump/toYonghuxzzs">我的诊所</a></li>
              			<li><a href="/yonghu/tuichu">退出</a></li>
              		</ul>
              </div>
            </div>
           <div class="clearfix g-nav">
		        <div class="nav-left">
		          
		          	<div class="n-weizhenliao nav-l-normal" id="shouy">首页</div>
		          
		          
		          <div class="n-weizhenliao nav-l-normal" id="guahao">挂号</div>
		          
		          
		          	<div class="n-normal-clinic nav-l-normal" id="changguimz">常规门诊</div>
		          
		          
		          	<div class="n-medicine nav-l-normal" id="shouyao">售药</div>
		          
		          
		          	<div class="n-charge nav-l-normal" id="shoufei">收费</div>
		          
		          
		          	<div class="n-repayment nav-l-normal" id="huankuan">还款</div>
		          
		          
		          	
		          		<div class="n-repayment nav-l-normal" id="fayao">发药</div>
		          	
		          		          
		        </div>
		        
		        <div class="nav-right">
		        	<div class="nav-r-normal n-statistics" id="changygn">更多功能<i class="fa fa-caret-right fa-lg" aria-hidden="true"></i>
		        		<ul class="pull-down-list">
		        			
	              				<li><div class="n-statistics" id="chaxuntj">查询/统计</div></li>
	              			
	              			<li><div style="display: none" class="n-clinic" id="daijianwp">代煎/外配</div></li>
	              			
	              			<li><div class="n-patient" id="huanzhe">患者</div></li>
	              			
	              			
	              			<li><div class="n-inventory" id="head-kucun">库存</div></li>
	              			
	              			
	              			<li><div class="n-clinic" id="zhensuo">诊所</div></li>
	              			
	              			<li style="display: none" id="yibaoli" class="a-nryibao"><div class="n-yibao" id="yibao">医保</div></li>
	              			
	              			<li><div class="n-yibao" id="xitong-shezhi">系统设置</div></li>
              				
              			</ul>
		        	</div>
		       </div>
		        
		      </div>
          </div>
      </header>
      
		<div class="modal" style="top: 20%;" id="tanceng-denglu" >
			<div class="modal-dialog  m-postion" style="width:500px; !important">
				<div class="modal-content .d-content" style="border-top: 2px solid #00b671;border-radius: 0;">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
						<h4 class="modal-title" style="font-size:16px;text-align: center;">您的登录信息已过期，请重新登录</h4>
					</div>
					<div class="modal-body text-center" style="margin:15px;">
						账号：<input type="text" id="exshoujihm" style="height: 30px;padding-left:10px;margin-bottom: 20px;border: 1px solid #ccc;" name="username" value="13575018102"/><br>
						密码：<input type="password" id="exmima" style="height: 30px;padding-left:10px;margin-bottom: 10px;border: 1px solid #ccc;" name="password"/>
					</div>
					<div class="modal-footer m-modal-footer" style="font-size:16px;text-align: center;">
						<button type="button" class="btn button" style="background:#00b671;color:#fff;"id="denglu">登录</button>
						<div type="button" class="btn button1" style="background:#fff;border:1px solid #ccc;" id="quxiao" data-dismiss="modal">取消</div>
					</div>
				</div>
			</div>
		</div>
		
	<div class="modal fade" id="tanceng-lodop" tabindex="-1" role="dialog" aria-labelledby="qyjy" aria-hidden="true" style="z-index: 15050">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="width:375px;top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body" style="text-align: center;">
					<span class="modal-title">打印控件未安装(或未启动)!是否立即下载</span>
					<p style="color:#ff0000;font-size:12px;padding:15px 0 0 0;">注：安装后请刷新页面或重新进入。</p>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<a class="btn confirm" id="xiazai" href='/scripts/CLodop_Setup_for_Win32NT.exe' target='_self' style="color:#fff;text-decoration:none;">下载</a>
					<button type="button" class="btn canceal new-btn"  data-dismiss="modal">取消</button>
				</div>
				
			</div>
		</div>
	</div> 
    <div class="modal fade" id="shangpinjqcz" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
		<div class="modal-dialog modal-lg m-postion">
			<div class="modal-content ybtc-content">
				<div class="modal-header">
					<span>精确查找</span>
					
				</div>
				<div class="modal-body" id="shangpjctj">
					<div class="modal-search clearfix">
						<div class="modal-seh-options">
							<div class="modal-seh-name">
								<label>名称：</label>
								<input type="text" placeholder="请输入商品名称" id="shangpinmc">
							</div>
							<div class="modal-seh-company">
								<label>生产厂家：</label>
								<input type="text" placeholder="请输入生产厂家" id="shengchancj">
							</div>
							</div>
						<div class="modal-seh-operation clearfix">
							<button class="modal-seh-button btuuon btn" id="search">查询</button>
						</div>
						<div class="modal-seh-laiyuan">
							<label>来源：</label>
							<div class="btn-jingquecz-check" style="margin: 0;"><span class="check check1" id="checkBenzs"></span>本诊所</div>
							<div class="btn-jingquecz-check"><span class="check check1" id="checkPingtk"></span>平台库</div>
						</div>
						<div class="modal-seh-leixing">
							<label>类型：</label>
							<div class="btn-jingquecz-check chazcy"><span class="check ypleixing check1" id="checkYinpian" value="1"></span>饮片</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkZhongcy" value="2"></span>中成药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkHuaxzy" value="3"></span>化学制药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkShengwzy" value="4"></span>生物制药</div>
							<div class="btn-jingquecz-check"><span class="check  ypleixing check1" id="checkQita" value="5"></span>其他</div>
							<div class="btn-jingquecz-check chazhc"><span class="check check1" id="checkHaocai" value="0"></span>耗材</div>
						</div>
					</div>
					<div class="table-list">
				        <div class="table-title s-title" style="border-bottom:0">
				        	<div id="jingquecz_img"></div>
				            <table width="100%" cellpadding="0" border="0" cellspacing="0" id="jingqcz_table" style="table-layout: fixed;">
					             <thead>
					                 <tr>
					                     <th width="20%">商品名称</th>
					                     <th width="25%">包装规格</th>
					                     <th width="30%">生产厂家</th>
					                     </tr>
					              </thead>
					              <tbody id="jingqcz_tbody"></tbody>
				            </table>
				            <div id="pagination-jingqczsp"></div>
				    </div>
				</div>
			</div>
		</div>
	</div>
	</div>
	</div>
	<input id="yb-chongxinqd" type="hidden" value=""/>
	<input id="yb-yewuzqh" type="hidden" value=""/>
	<input id="yb-zongedzcs" type="hidden" value=""/>
	<input id="huanzhexx" type="hidden" value=""/>
	<input id="yb-duka" type="hidden" value=""/>
	<input id="yb-initby" type="hidden" value=""/>
	<input type="hidden" value="" id="yb-jiuzhenxxmx">
    <div id="yb_yuangongid" style="display:none;">410</div>
    <script src="../static/js/header.js"></script> 
    <script type="text/javascript">
    var isYiBao = true
    var path = '';
    var jinrusj = 'null';
    var rukou = 'null';
    var zhensuomc = '强强电疗所';
    // 医保显示控制
    if (isKeHud == true && isYiBao == true) {
		$('.a-btnyibao').css('display','inline-block');
		$('.a-nryibao').css('display','block');
    } else {
		$('.a-btnyibao').css('display','none');
		$('.a-nryibao').css('display','none');
    }
    if(jinrusj && jinrusj!='null') {
    	notifyInfo("欢迎进入"+"&nbsp;"+"&nbsp;"+zhensuomc,jinrusj);
    }
    if(rukou == '0' ) {
    	if(jinrusj && jinrusj!='null'&& (new Date().getTime() - Number(jinrusj)) < 3000) {
    		//$('#tanceng-shezhiyd').modal('show');
        }else{
        	$('#tanceng-shezhiyd').modal('hide');
        }
    }
    getPath(path);

    $("#guahao").click(function(){
    	window.location.href='guahao.jsp';
    	return false;
    });
    
    $("#head-kucun").click(function(){
    	window.location.href= path+'toKuncun.html';
    	return false;
    });

    //通知
    $("#imgTongzhi").click(function(){
    	window.location.href= path+'toTongzhi.jsp';
    	return false;
    });
    
    $("#zhensuo").click(function(){
    	window.location.href='toZhensuo.html';
    	return false;
    });
    $("#yibao").click(function(){
    	window.location.href= path+ '/jump/toYibao';
    	return false;
    });
  	//跳转到首页
    $("#shouy").click(function(){
	window.location.href='MyHtml.html';
    });
  	
    function toIndex() {
    	window.location.href= path+'/jump/toIndex?mingcheng='+mingcheng;
    	return false;
    }
    
    $("#shoufei").click(function(){
    	window.location.href= path+ 'toShoufei.jsp';
    	return false;
    });

    $("#huankuan").click(function(){
    	window.location.href='toHuankuan.html';
    	return false;
    });

    $("#chaxuntj").click(function(){
    	window.location.href= path+'searchStatistics.html';
    	return false;
    });
    $("#bangz").click(function(){
    	window.location.href="bangzhu.html";
    	return false;
    });
    $("#fayao").click(function(){
    	window.location.href="fayao.jsp";
    	return false;
    });
	$("#shouyao").click(function(){
	   	window.location.href='toShouyao.html';
	   	return false;
	   });
	$("#weizl").click(function(){
	   	window.location.href=  path+'/jump/toWeizl';
	   	return false;
	   });
	
	
   $("#changguimz").click(function(){
   	window.location.href=  path+'toChangguimz.html';
   	return false;
   });	
   $("#daijianwp").click(function(){
   	window.location.href= (path+"/views/daijianwp/daijianwpcf.jsp");
   	return false;
   });	
  $("#huanzhe").click(function(){
	window.location.href='toHuanzhe.html';
	return false;
	});
  $("#xitong-shezhi").click(function(){
	window.location.href= (path+"xitong-shezhi.jsp");
	return false;
	});
// 代煎外配权限
function getDaiJianwpqx() {
	var daijianwpqx;
	$.ajax({
		type: "get",
		url: path + "/yaoshifw/getDaiJianwpqx",
		async: false,
		success: function(res) {
		daijianwpqx= res;
		}
	});
	return daijianwpqx;
}
var daijianwpqx = getDaiJianwpqx();
if (daijianwpqx == true) {
	$('#daijianwp').css('display', 'block');
}
</script>

	<div  id="loading" style="position: absolute;top: 40%;left: 50%;" >
         <div class="loader-demo">
            <div class="ball-spin-fade-loader">
               <div></div>
               <div></div>
               <div></div>
               <div></div>
               <div></div>
               <div></div>
               <div></div>
               <div></div>
            </div>
         </div>
      </div>
	<script language=javascript>
	function closeDiv()
	{document.getElementById('loading').style.display="none";}
	</script>
	<div class="title-list">
		<ul>
			<li><span class="dayin-shezhi">打印设置</span></li>
			<li><span class="changgui-shezhi  lishoufeijl">系统设置</span></li>
		</ul>
	</div>
		<div class="main-box main-scroll" style="margin-top:90px;padding-bottom:60px;">
			<div class="shezhi-title">
				<span><b></b>系统设置</span>
			</div>
						<!-- 挂号开关 -->
			<div class="guahao-box piliangkc-box" style="margin-top: 30px;">
				<div class="gongneng-title yuanjiao clearfix">
					<div class="header-title">
						<p style="font-weight: 700;">挂号开关</p>
						<p id="qianfeism">挂号开关开启后可以做挂号业务</p>
					</div>
	       			<div class="kaiguan-box yibaobs">
	       				<span class="biaoshi"></span>
	           			<div class="kaiguan" id="guahao-kaiguan">
							<span class="xiaoqiu"></span>
						</div>
	        		</div>
				</div>
			</div>
			<!-- 发药开关 -->
			<div class="fayao-box piliangkc-box" style="margin-top: 30px;">
				<div class="gongneng-title yuanjiao clearfix">
					<div class="header-title">
						<p style="font-weight: 700;">发药开关</p>
						<p id="qianfeism">发药开关开启后，收费与发药分离，可以单独做发药业务</p>
					</div>
	       			<div class="kaiguan-box yibaobs">
	       				<span class="biaoshi"></span>
	           			<div class="kaiguan" id="fayao-kaiguan">
							<span class="xiaoqiu"></span>
						</div>
	        		</div>
				</div>
			</div>			
			<div class="yibaokg-box piliangkc-box" style="margin-top: 30px;">
				<div class="gongneng-title yuanjiao clearfix">
					<div class="header-title">
						<p style="font-weight: 700;">医保开关</p>
						<p id="yibaoshuom"></p>
					</div>
	       			<div class="kaiguan-box yibaobs">
	       				<span class="biaoshi"></span>
	           			<div class="kaiguan" style="display:none;" id="yibao-kaiguan">
							<span class="xiaoqiu xiaoqiu-right"></span>
						</div>
	        		</div>
				</div>
			<div class="tuifeikg-box piliangkc-box" style="margin-top: 30px;">
				<div class="gongneng-title yuanjiao clearfix">
					<div class="header-title">
						<p style="font-weight: 700;">欠费开关</p>
						<p id="qianfeism">欠费开启后可以做欠款业务</p>
					</div>
	       			<div class="kaiguan-box yibaobs">
	       				<span class="biaoshi"></span>
	           			<div class="kaiguan" style="display:none" id="qianfei-kaiguan">
							<span class="xiaoqiu xiaoqiu-right"></span>
						</div>
	        		</div>
				</div>
			</div>
			<!--隐藏勿删   ， 后期使用-->
			<!--<div class="xiangmufl-box gongneng-title  clearfix">
				<div class="header-title">
					<p style="color:#444;">支持金额为0的就诊</p>
					<p >该选项用于控制当微诊疗、常规门诊和售药中合计金额为0元时，是否允许继续收费</p>
				</div>
				<div class="kaiguan-box">
	  				<span class="biaoshi">已开启</span>
	      			<div class="kaiguan kaiqi ">
						<span class="xiaoqiu xiaoqiu-right"></span>
					</div>
	       		</div>
			</div>-->
		</div>
	<div class="modal fade" id="shezhixt-out" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="huankuan-tanceng-hk" aria-hidden="true">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body">
					<h4 class="modal-title" style="text-align:center;">确定修改库存批次功能?</h4>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<div type="button" class="btn confirm" id="shezhixt-out-queding">确定</div>
					<div type="button" class="btn cancel new-btn" id="shezhixt-out-cancel" data-dismiss="modal">取消</div>
				</div>
				
			</div>
		</div>
	</div>
	<div class="modal fade" id="shezhixt-yibaokg" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="huankuan-tanceng-hk" aria-hidden="true">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body">
					<h4 class="modal-title" style="text-align:center;">确定修改医保开关?</h4>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<div type="button" class="btn confirm" id="shezhixt-yibaokg-queding">确定</div>
					<div type="button" class="btn cancel new-btn" id="shezhixt-yibaokg-cancel" data-dismiss="modal">取消</div>
				</div>
				
			</div>
		</div>
	</div>
	<div class="modal fade" id="shezhixt-zidongjk" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="huankuan-tanceng-hk" aria-hidden="true">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body">
					<h4 class="modal-title" style="text-align:center;">确定修改自动建库开关?</h4>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<div type="button" class="btn confirm" id="shezhixt-zidongjk-queding">确定</div>
					<div type="button" class="btn cancel new-btn" id="shezhixt-zidongjk-cancel" data-dismiss="modal">取消</div>
				</div>
				
			</div>
		</div>
	</div>
	<div class="modal fade" id="shezhixt-qianfei" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="huankuan-tanceng-hk" aria-hidden="true">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body">
					<h4 class="modal-title" style="text-align:center;">确定修改欠费开关?</h4>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<div type="button" class="btn confirm" id="shezhixt-qianfei-queding">确定</div>
					<div type="button" class="btn cancel new-btn" id="shezhixt-qianfei-cancel" data-dismiss="modal">取消</div>
				</div>
				
			</div>
		</div>
	</div>
	<!--挂号开关弹窗 -->
	<div class="modal fade" id="shezhixt-guahao" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="huankuan-tanceng-hk" aria-hidden="true">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body">
					<h4 class="modal-title" style="text-align:center;">确定修改挂号开关?</h4>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<div type="button" class="btn confirm" id="shezhixt-guahao-queding">确定</div>
					<div type="button" class="btn cancel new-btn" id="shezhixt-qianfei-cancel" data-dismiss="modal">取消</div>
				</div>
				
			</div>
		</div>
	</div>	
	<!--发药开关弹窗 -->
	<div class="modal fade" id="shezhixt-fayao" style="z-index:15050" tabindex="-1" role="dialog" aria-labelledby="huankuan-tanceng-hk" aria-hidden="true">
		<div class="modal-dialog modal-sm m-postion">
			<div class="modal-content d-content" style="top:150px;">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					
				</div>
				<div class="modal-body">
					<h4 class="modal-title" style="text-align:center;">确定修改发药开关?</h4>
				</div>
				<div class="modal-footer text-center m-modal-footer">
					<div type="button" class="btn confirm" id="shezhixt-fayao-queding">确定</div>
					<div type="button" class="btn cancel new-btn" id="shezhixt-qianfei-cancel" data-dismiss="modal">取消</div>
				</div>
				
			</div>
		</div>
	</div>	
	<form>
		<div class="modal" id="mymodal-dizhi" tabindex="-1"  aria-hidden="true" style="z-index: 15050">
			<div class="modal-dialog">
				<div class="modal-content d-content d-contrnt-big" style="width:750px;top:280px;left:-70px;">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
					</div>
					<div class="modal-body" style="overflow: visible;padding-bottom:40px;">
						<div class="dizhi-box clearfix">
				        	<div class="medicine-item medicine-bigone clearfix">
								<span class="shezhi-dizhi"><b>*</b>地址：</span>
								<div class="city-picker ">
								<!-- 暂无 港澳台 如需要可在city.json文件中添加-->
									<input type="hidden" class="provinceIn">
									<input type="text" name="shengfen" id="province" readonly="readonly" unselectable="" class="dropdown-zsxx"  placeholder="请选择您所在省份">
									<ul id="provinceUl" class="dropdown-zsxxul dropdown-province"><li id="choosePro" style='display:none;' value="-1"></li></ul>
								</div>
								<div class="city-picker ">
									<input type="hidden" class="cityIn">
									<input id="citys" name="chengshi"  class="dropdown-zsxx" onchange=""  readonly="readonly" unselectable=""   placeholder="请选择您所在城市">
									<ul id="cityUl" class="dropdown-zsxxul dropdown-city"><li id='chooseCity' style='display:none;' value='-1'></li></ul>
								</div>
								<div class="city-picker ">
									<input type="hidden" class="countyIn ">
									<input id="county" name="quxian"  class="dropdown-zsxx"  readonly="readonly" unselectable=""  placeholder="请选择您所在区/县">
									<ul id="countyUl" class="dropdown-zsxxul dropdown-county"><li id='chooseCounty' style='display:none;' value='-1'></li></ul>
								</div>
								<button id="yibaokhdxz" class="button button1" style="width:140px;float: right;margin-right:35px;line-height:34px;">医保客户端下载</button>
							</div>
		        		</div>
					</div>
				</div>
			</div>
		</div>
	</form>
	<script src="../static/js/shezhixt.js"></script>
	<script type="text/javascript">
		var piliangkckg = 'PILIANGKCKG';// 批量库存开关
		var isYiBao = true;// 医保开关
		var YiBaokg = 'YIBAOKG';// 医保开关
		var zidongjkkg = 'ZIDONGJKKG';//自动建库开关
		var qianfeikg = 'QIANFEIKG';//欠费开关
		var guahaokg = 'GUAHAOKG';//挂号开关
		var fayaokg = 'FAYAOKG';//发药开关
		getShezhi(piliangkckg, isYiBao, YiBaokg, zidongjkkg, qianfeikg, guahaokg, fayaokg);
		/*打印设置*/
		$(function(){
			$('.dayin-shezhi').click(function(){
				$("#chaxunnr").html('');
				window.location.href = "xitong-shezhi.jsp";
			});
		});
	</script>
</body>
</html>
